:root {
  --main: #00baff;
  --background: #f8f8f8;
  --darkback: #eeeeee;
  font-family: NeverMind, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

@keyframes fadeInRightImg {
  from {
    opacity: 0;
    margin-left: 200px;
  }
}

@keyframes fadeInLeftImg {
  from {
    opacity: 0;
    margin-right: 200px;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
}

@keyframes window-in {
  0% {
    transform: scale(0.9) translateZ(0);
    opacity: 0;
  }
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background-color: rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
}
::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 73.5px;
}
::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.4);
}
::-webkit-scrollbar-thumb:active {
  background-color: rgba(0, 0, 0, 0.56);
}

html {
  background: var(--background);
  height: 500vh;
}

html,
body {
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

#header {
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background: rgba(119, 119, 119, 0.5);
  box-shadow: rgba(0, 0, 0, 0.6) 0 10px 30px;
  height: 80px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s;
  user-select: none;
  z-index: 999;
}

#header img {
  width: 60px;
  height: 60px;
  position: absolute;
  left: 20px;
  top: 10px;
  box-shadow: rgba(0, 0, 0, 0.3) 0 0 15px;
  border-radius: 16%;
}

#header span {
  color: #fff;
  font-weight: bold;
  position: absolute;
  font-size: 30px;
  line-height: 80px;
  left: 100px;
  text-shadow: rgba(0, 0, 0, 0.3) 0 5px 10px;
}

#header > div {
  float: right;
  height: 100%;
}

#header > div a,
#btns a {
  background: rgba(255, 255, 255, 0.2);
  margin: 20px 20px 20px 0;
  padding: 0 20px;
  line-height: 40px;
  display: inline-block;
  height: 40px;
  border-radius: 5px;
  border: solid rgba(255, 255, 255, 0.5) 1px;
  color: #fff;
  box-shadow: rgba(0, 0, 0, 0.3) 0 5px 15px;
  text-decoration: none;
  transition: all 0.2s;
}

#header > div a:hover,
#btns a:hover {
  background: rgba(255, 255, 255, 0.3);
  box-shadow: rgba(0, 0, 0, 0.5) 0 5px 20px;
}

#header > div a:active,
#btns a:active {
  background: rgba(0, 0, 0, 0.12);
  box-shadow: rgba(0, 0, 0, 0) 0 0 0, rgba(0, 0, 0, 0.3) 0 5px 30px inset;
  transition: all 0.1s;
}

.section {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  display: block;
  padding: 0;
  z-index: 3;
  box-shadow: rgba(0, 0, 0, 0.3) 0 -10px 30px;
}

.section:not(#head):not(.shown) > * {
  display: none;
}

#head {
  background: url(./img/background.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: block;
}

#head .ss {
  box-shadow: rgba(0, 0, 0, 0.6) 0 20px 50px;
  border-radius: 3px;
  animation: fadeInRightImg 2s;
  z-index: 1;
  transform: translate(-10%, -50%);
}

#head > div {
  height: 50%;
  width: calc(50% - 200px);
  position: absolute;
  left: 0;
  top: 50%;
  animation: fadeInLeft 1.3s;
}

#head > div * {
  text-align: right;
}

#head > div #head-ico {
  width: 120px;
  height: 120px;
  box-shadow: rgba(0, 0, 0, 0.6) 0 10px 30px;
  border-radius: 16%;
  position: absolute;
  right: 0;
  top: -120px;
}

#head > div h1 {
  color: #fff;
  font-size: 50px;
  text-shadow: rgba(0, 0, 0, 0.7) 0 5px 20px;
  margin: 10px 0;
}

#head > div span {
  font-size: 20px;
  color: #fff;
  text-shadow: rgba(0, 0, 0, 0.7) 0 5px 10px;
  display: block;
  margin: 10px 0;
}

#ver {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: rgba(0, 0, 0, 0.7) 0 5px 10px;
  display: block;
  margin: 10px 0;
}

#ver:after {
  content: "2.0.2";
}
.section {
  background: var(--background);
  transition: opacity 0.3s;
}

.section:nth-child(2n + 1) .ss {
  position: fixed;
  height: 80vh;
  top: 55%;
  transform: translate(10%, -50%);
  right: 50%;
  box-shadow: rgba(0, 0, 0, 0.3) 0 20px 50px;
  border-radius: 3px;
  animation: fadeInLeftImg 2s;
}

.section:nth-child(2n) > div {
  height: 60%;
  top: 20%;
  width: calc(50% - 180px);
  position: absolute;
  left: 50px;
  animation: fadeInLeft 1.3s;
}

.section:nth-child(2n) .ss {
  position: fixed;
  height: 80vh;
  top: 55%;
  transform: translate(-10%, -50%);
  left: 50%;
  box-shadow: rgba(0, 0, 0, 0.3) 0 20px 50px;
  border-radius: 3px;
  animation: fadeInRightImg 2s;
}

.section:nth-child(2n + 1) > div {
  height: 60%;
  top: 20%;
  width: calc(50% - 180px);
  position: absolute;
  right: 50px;
  animation: fadeInRight 1.3s;
}

.section h1 {
  font-size: 60px;
  text-shadow: rgba(0, 0, 0, 0.4) 0 5px 15px;
  font-weight: 300;
  color: #333;
}

.section span {
  font-size: 18px;
  color: #777;
}

#dark {
  background: url(./img/dark.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#dark h1 {
  color: #fff;
}

#dark span {
  color: #aaa;
}

#last {
  background: url(./img/background.jpg);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding-top: 20vh;
  height: 80vh;
}

#last > * {
  animation: fade 1s;
}

#last #bottom-icon {
  width: 120px;
  height: 120px;
  box-shadow: rgba(0, 0, 0, 0.6) 0 10px 30px;
  border-radius: 16%;
}

#last h1 {
  color: #fff;
  margin: 10px 0;
  text-shadow: rgb(0, 0, 0) 0 5px 10px;
}

#last span {
  color: #eee;
  text-shadow: rgb(0, 0, 0) 0 5px 10px;
}

#last #ver {
  text-shadow: rgb(0, 0, 0) 0 5px 10px;
}

#btns a {
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.3);
}